package com.maykk.Demo09;

import java.util.Scanner;
import java.util.Random;

public class Game {
    public static void main(String[] args) {
        Random ran = new Random();
        Player player01 = new Player("电脑", ran.nextInt(3) + 1);
        System.out.println(player01);
        Scanner scanner = new Scanner(System.in);
        System.out.println("请选择你的出拳： 1-剪刀 2-石头 3-布");
        Player player02 = new Player("小肆", scanner.nextInt());
        Judge judge = new Judge(player01,player02);
        judge.showGame();
    }
}